package com.jxc.jxc01.grc.service.impl;

import com.jxc.jxc01.grc.dao.IManifestDao;
import com.jxc.jxc01.grc.dao.impl.ManifestDaoImpl;
import com.jxc.jxc01.grc.entity.Manifest;
import com.jxc.jxc01.grc.service.IManifestService;


import java.util.List;

public class IManifestServiceImpl implements IManifestService {
    IManifestDao iManifestDao = new ManifestDaoImpl();
    @Override
    public boolean addOneOfInBill(Manifest manifest) {
        return iManifestDao.addOneOfInBill(manifest);
    }

    @Override
    public boolean deleteOneOfInBill(int id) {
        return iManifestDao.deleteOneOfInBill(id);
    }

    @Override
    public boolean updateCheckStatusById(Manifest manifest) {
        return iManifestDao.updateCheckStatusById(manifest);
    }

    @Override
    public List<Manifest> queryOneOfInBill() {
        return iManifestDao.queryOneOfInBill();
    }

    @Override
    public int queryOneOfInBillTotalCount() {
        return iManifestDao.queryOneOfInBillTotalCount();
    }

    @Override
    public List<Manifest> queryById(int numbering) {
        return iManifestDao.queryById(numbering);
    }
}
